package itbour.onetouchshow.bean.user;

import itbour.onetouchshow.bean.EffectsBean;

/**
 * Created by Yang on 2018/1/5.
 */

public enum UserMakeTag {
    MAKE("制作"), SAVE("保存"), SHOW("浏览"), CLOSE("关闭"), SETBG("设置背景"), UPDATE("修改作品"), CUTUPDATE("剪切修改作品"), SETCOVER("设置封面"), DOWNLOAD("下载"), REMOVEWATER("去水印"), REFRESH("刷新"), BUYVIP("购买VIP"), BUYXIUMI("购买秀米"), DELETEVIDEO("删除镜头"), ADDVIDEO("添加镜头"), WORK("作品"), DRAFT("草稿");

    private String typeName;
    private String tag;
    private String tag1;

    private String tag2;
    private EffectsBean effectsBean;

    UserMakeTag(String typeName) {
        this.typeName = typeName;
    }

    /**
     * 根据类型的名称，返回类型的枚举实例。
     *
     * @param typeName 类型名称
     */
    public static UserMakeTag fromTypeName(String typeName) {
        for (UserMakeTag type : UserMakeTag.values()) {
            if (type.getTypeName().equals(typeName)) {
                return type;
            }
        }
        return null;
    }

    public EffectsBean getEffectsBean() {
        return effectsBean;
    }

    public void setEffectsBean(EffectsBean effectsBean) {
        this.effectsBean = effectsBean;
    }

    public String getTag2() {
        return tag2;
    }

    public void setTag2(String tag2) {
        this.tag2 = tag2;
    }

    public String getTag1() {
        return tag1;
    }

    public void setTag1(String tag1) {
        this.tag1 = tag1;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getTypeName() {
        return this.typeName;
    }


}
